# num1 = input("请输入num1:")
# num2 = input("请输入num2:")
#
# print(num1 + num2)
x = 1
y = 3.14
print(type(x))
print(type(y))

x_str = str(x)
print(x_str, type(x_str))
y_str = str(y)
print(y_str, type(y_str))

s1 = "123"
s1_int = int(s1)
print(s1_int, type(s1_int))

s2 = "3.14"
s2_float = float(s2)
print(s2_float, type(s2_float))

num1 = input("请输入num1:")
num2 = input("请输入num2:")
num1_float = float(num1)
num2_float = float(num2)

print(num1_float + num2_float)